package org.aphelie.chronicle.character.ui.editors;

import org.aphelie.chronicle.character.Archetype;
import org.aphelie.chronicle.character.ui.forms.ArchetypePage;
import org.aphelie.chronicle.ui.editors.ArcSheetEditor;
import org.eclipse.ui.PartInitException;

public class ArchetypeEditor extends ArcSheetEditor {

	public ArchetypeEditor() {
		super();
	}

	@Override
	protected void addPages() {
		try {
			addPage(new ArchetypePage(this, (Archetype) getEditedSheet()));
		} catch (PartInitException e) {
			e.printStackTrace();
		}	
	}

	@Override
	public void doSaveAs() {
		// TODO Auto-generated method stub

	}

	@Override
	public boolean isSaveAsAllowed() {
		// TODO Auto-generated method stub
		return false;
	}

}
